package com.bdqn.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.crm.mapper.CstServiceMapper;
import com.bdqn.crm.pojo.CstService;
import com.bdqn.crm.service.CstServiceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class CstServiceServiceImpl extends ServiceImpl<CstServiceMapper, CstService>
        implements CstServiceService {

    @Resource
    private CstServiceMapper cstServiceMapper;

    /**
     * 分页查询
     *
     * @param svrCustName 客户
     * @param svrTitle    概要
     * @param svrType     服务类型
     * @param pageIndex
     * @param pageSize    每页显示多少内容
     * @return
     */
    @Override
    public List<CstService> selectPages(String svrCustName, String svrTitle, String svrType, Integer pageIndex, Integer pageSize) {
        return cstServiceMapper.selectPages(svrCustName, svrTitle, svrType, pageIndex, pageSize);
    }
}




